-- GENERATED SPELL FOR [Mesa Buzzard] --


function spell0_2579(pUnit, Event) --@Fevered Fatigue,n/a--
pUnit:FullCastSpellOnTarget(8139,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2579', 3000, 1)
end

function Sorts_2579(pUnit, Event)
local choix_sorts_2579 = math.random(0, 0)
if choix_sorts_2579 == 0 then
pUnit:RegisterEvent('spell0_2579', 1, 1)
end
end

function mob2579_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2579', math.random(1500, 3000), 1)
end

function mob2579_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2579_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2579_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2579, 1, 'mob2579_Action')
RegisterUnitEvent(2579, 2, 'mob2579_Leave')
RegisterUnitEvent(2579, 3, 'mob2579_Kill')
RegisterUnitEvent(2579, 4, 'mob2579_Die')
